

export function setStorage(key, value = {}) {
    localStorage.setItem(key, JSON.stringify(value))
}
export function getStoreage(key) {
    let str = localStorage.getItem(key)
    return str ? JSON.parse(str) : {}
}

export function removeStorage(key) {
    localStorage.removeItem(key)
}
